﻿using Microsoft.Graphics.Canvas;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using 纸片人.CalculateControls;

using 纸片人.InterfaceFolder;

namespace 纸片人.win2dEffectControl.DataClass
{
    public class OutputData
    {
        /// <summary>
        /// 输出类型
        /// </summary>
        public OutputType Type { get; set; }
        public string Name { get; set; }
        /// <summary>
        /// 输出的数据
        /// </summary>
        public object ExporterData { get; set; }
        /// <summary>
        /// 输出者
        /// </summary>
        public IExporter Exporter { get; set; }

        /// <summary>
        /// 接收者
        /// </summary>
        public IProvider Provider { get; set; }

        /// <summary>
        /// 接收标识
        /// </summary>
        public object ExporterInfo { get; set; }

        /// <summary>
        /// 输出拖拽的控件
        /// </summary>
        public ExporterDragControl ExportConnectElement { get; set; }
    }

    /// <summary>
    /// 输出的类型
    /// </summary>
    public enum OutputType
    {
        /// <summary>
        /// 效果类型
        /// </summary>
        Effect,
        Double,
        Vector2,
        Vector3,
        Vector4,
        Matrix2x2,
        Matrix3x3,
        Matrix4x4,
    }

}
